package com.sanyang.pda.net;


import com.wangshen.base.net.client.KRetrofitFactory;

/**
 * @name JiaobanProject
 * @class describe
 * @anthor 王文章
 * @time 2019/5/6 9:22
 * @change
 */
public class NetUtils {
    private static ApiService apiServeice;
    public static ApiService geApi(){
        if (apiServeice == null){
            apiServeice= KRetrofitFactory.createService(ApiService.class);
        }
        return apiServeice;
    }
    public static ApiService getLoginApi(){
        apiServeice= KRetrofitFactory.createService(ApiService.class);
        return apiServeice;
    }
}
